#include <stdio.h>

/* 
**	Write the function strrindex(s,t), which returns the position
** 	of the rightmost occurrence of t in s, or -1 if there is none.
*/

int main(){
	
	return 0;
}

int strrindex(char s[], char t){
	int i = 0, j = -1;
	while(s[i] != '\0'){
		if(s[i] == t){
			j = i;
		}
		i++;
	}
	return j;
}
